package homework.Sort;

public class Dog extends Canine{
    public Dog(){

    }
    public Dog(String color,int age,String varieties) {
        super(color, age, varieties);
    }
        public void caretaker(){
            System.out.println("那只" + this.getAge() + "岁的"+this.getColor()
                    + this.getVarieties() + "在看门");
        }

}
